<div class="projects index">
<h2><?php __('My Projects');?></h2>
<p>

<?php
foreach($projects as $project){
?>

<a href="<?php echo "".$this->base; ?>/projects/user_projects/<?php echo "".$project['projects']['id']; ?>">
<div style="width: 700px; <?php if($project['projects']['id']==$current_project_id){ echo "background-color: #EEEEEE;"; } ?>">

<table>
<tr>
<td>

<?php echo $html->image('thumb1.jpg'); ?>

</td>
<td>

<strong><?php echo "".$project['projects']['name']; ?></strong>

<br/>

<?php echo "".$project['projects']['description']; ?>

<br/>

<? if($project['projects']['start_date']==""){ ?>
[Not started yet.]
<? }else if($project['projects']['end_date']==""){ ?>
[From: <?php echo "".$project['projects']['start_date']; ?> to: Present.]
<? } else{ ?>
[From: <?php echo "".$project['projects']['start_date']; ?> to: 
<?php echo "".$project['projects']['end_date']; ?>.]
<? } ?>

</td>
</tr>
</table>

</div>
</a>



	<br/><br/>
<?php
}
?>